export interface IUserData {
  author: string
  authorUrl: string
}

export interface IScriptData extends IUserData {
  url: string
  goodRating: number
  okRating: number
  badRating: number
  dailyInstalls: number
  totalInstalls: number
  dailyAvgInstalls: number
  lastUpdatedDays: number
  createDays: number
  version: string
  isMine: boolean
}

/**
 * 高评分脚本阈值
 */
export const HIGH_SCORE_THRESHOLD = 90
